Scripting Modules

These modules are used to manage global scripts that can be used by any application, timed event, transaction macro, etc.

The RFgen.bas and Win32.bas files known as BASIC (Beginners All-purpose Symbolic Instructional Code) are installed by default in the Scripting Modules. Customized applications provided by RFgen are written in VBA (Visual Basic for Applications) and are in Macros (prescripted programs that automate routing tasks like fetching data and populating a specific field in an application.)

  • Both .bas files contain global definitions of variables, functions, and procedures that can be referenced by any application or macro script.

  • If you want these global definitions, variables, functions, or procedures to be available from any form in your application, add your Visual Basic code one of these base modules and customize it.

  • Note: In RFgen version 5.0, “Scripting Modules” was named “VBA Modules”.

To Make a Reference to Other Modudules

  1. At the top of the Scripting Modules form set the Load Module to "When Referenced".
  2. Click Save.